package api;
import javax.ejb.Local;

@Local
public interface IUserDataManager {
	
	public static enum Gender {
		MALE, FEMALE
	}	
	public static enum NotificationApproach {
		ALL, DiGEST
	}
	
	
	boolean updateName(int uid, String name);
	boolean updateAge(int uid,int age);
	boolean updateCity(int uid,String city);
	boolean updateGender(int uid,Gender sex);
	boolean updateEmail(int uid,String email);
	boolean updateNotificationApproach(int uid,NotificationApproach approach, boolean flag);
	
	String getProfileById(int uid);
	String getProfileByUsername(String username);


}
